from multiprocessing.connection import Client
from array import array

address=("localhost",8888)
if __name__ == "__main__":
    with Client(address,authkey=b'abcdef123456') as conn:
        print(conn.recv())
        print(conn.recv_bytes())
        arr = array('i',[0,0,0,0])
        conn.recv_bytes_into(arr)
        print(arr)